package cn.edu.lingnan.test;

public class Client {
    public static void main(String[] args) {
//        Rent rent=new Landlord();
//        rent.rent();
        Rent rent=new Landlord();
        Proxy proxy = new Proxy();
        proxy.setRent(rent);
        proxy.rent();
    }
}
